#pragma once
#include "Global References/Globals.h"

struct TextBox
{
	char*	val;
	Quad	pos;
	TextBox() :val(""),pos(Quad(0,0,0,0)){};
	TextBox(char* Value,Quad Position)
		:val(Value),pos(Position){};
	bool operator== (TextBox toCheck) 
	{
		if(toCheck.pos.x == this->pos.x)
			if(toCheck.pos.y == this->pos.y)
				if(toCheck.pos.height == this->pos.width)
					if(toCheck.pos.width == this->pos.width)
						if(toCheck.val == this->val)
							return true;
		return false;
	}

	void reset(char* Value,Quad Position)
		{val=Value,pos = Position;};

};



